package com.ty.user.starter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


@Data
@ConfigurationProperties(prefix = "user.mgt")
public class UserMgtProperties {

    /**
     * 无需认证权限路径,多路径设置以","隔开
     * 此路径将不会受到shiro的安全验证,如登录过滤
     */
    private String[] anons = new String[0];

    /**
     * 用户头像保存地址,默认存储于/home/user_mgt/photo目录中
     */
    private String photoPath = "/home/user_mgt/photo";
    /**
     * 头像上传图片类型
     */
    private String[] photoType = new String[]{"png", "jpeg", "bmp", "jpg", "gif"};
}
